var express = require('express');
var RoleRouter = express.Router();
var RoleController = require('../controllers/RoleController.js')

RoleRouter.get('/adminapi/roles', /**读取controller */ RoleController.getList)

RoleRouter.put('/adminapi/roles/:id', RoleController.updataList)
RoleRouter.delete('/adminapi/roles/:id', RoleController.deleteList)

module.exports = RoleRouter;